<style>
	.table tr td:first-child {
		width: 100px;
	}

	.table .img-thumbnail {
		height: 80px;
	}

	.table td {
		vertical-align: middle;
	}

	.user-box {
		display: flex;
		align-items: center;
		flex-direction: row
	}

	.user-box .avatar {
		margin-left: 0;
		margin-right: 10px;
	}

	.user-box .nickname {
		color: #605ca8;
	}

	.user-box .time {
		color: #999;
		font-size: 12px;
	}
</style>
<div class="row">
	<form id="review-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
		<input type="hidden" name="row[score]" value="{$row.score}" />
		<div class="col-xs-12">
			<div class="panel panel-default">
				<div class="panel-heading">
					状态：<span
						class="label {if $row.status.'' === '0'}label-default{elseif $row.status.'' === '-1'}label-danger{else /}label-success{/if}">{$row.status_text}</span>
				</div>
				<div class="panel-body">

					<table class="table table-striped">
						<tbody>
							<tr>
								<td colspan="2">
									<div class="user-box">
										<img class="avatar img-sm img-circle img-center" src="{$row.user.avatar}" />
										<div class="info">
											<div class="nickname color-purple">{$row.user.nickname}</div>
											<div class="time">{$row.createtime_text}</div>
										</div>
									</div>
								</td>
								<td></td>
							</tr>
							<tr>
								<td>是否公开</td>
								<td>
									<span
										class="label {if $row['isopen']} label-success {else} label-default {/if}">{$row['isopen_text']}</span>
								</td>
							</tr>
							<tr>
								<td>事件描述</td>
								<td>{$row.content|htmlentities}</td>
							</tr>
							<tr>
								<td>图片信息</td>
								<td>
									{volist name="row.images_array" id="vo"}
									<a href="javascript:;"><img src="{$vo}" class="img-thumbnail img-center" /></a>
									{/volist}
								</td>
							</tr>
							<tr>
								<td>地理位置</td>
								<td>
									<p>{$row.lat},{$row.lng}</p>
									<p>{$row.address}</p>
									<div id="tmap-box"></div>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
			{if $row['reviewtime'] > 0 }
			<div class="panel panel-default">
				<div class="panel-heading">审核信息</div>
				<div class="panel-body">
					<table class="table">
						<tbody>
							{if $row['level'] > 0}
							<tr>
								<td>事件等级</td>
								<td>
									{$row.level_text}
								</td>
							</tr>
							{/if}
							<tr>
								<td>赠送积分</td>
								<td>{$row.score}积分</td>
							</tr>
							<tr>
								<td>审核员</td>
								<td><img class="img-sm img-circle img-center" src="{$row.reviewadmin.avatar}" />
									{$row.reviewadmin.nickname}</td>
							</tr>
							<tr>
								<td>审核时间</td>
								<td>{$row.reviewtime_text}</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
			{/if}
			<div class="panel panel-default">
				<div class="panel-heading">处理回复</div>
				<div class="panel-body">
					<textarea id="c-solve_reply" class="form-control editor" rows="5" name="row[solve_reply]"
						cols="50">{$row.solve_reply|htmlentities}</textarea>
				</div>
			</div>

		</div>
		<div class="form-group layer-footer">
			<label class="control-label col-xs-12 col-sm-2"></label>
			<div class="col-xs-12 col-sm-8">
				<button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
			</div>
		</div>
	</form>
</div>